module.exports=app=>{
    app.logger.info('app log');
    app.logger.error('app log');
    app.coreLogger.error('coreLogger app log');
    app.locals={a:1};
    app.beforeStart(async ()=>{
        console.log('this is before');
        app.logger.info('logger');
    })
    app.once('server',server=>{
        console.log('server')
    })
    app.on('error',(err,ctx)=>{
        console.log('error')
    })
    app.on('request',ctx=>{
        console.log('request')
    })

    app.on('response',ctx=>{
        console.log('response')
    })
}